obj-m := rtai_igh.o
rtai_igh-objs := rtai_igh_main.o rtai_shmem.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
EXTRA_CFLAGS := -I/usr/local/include -I/usr/realtime/include
EXTRA_CFLAGS += -D__IN_RTAI__

all:
	make -C $(KDIR) M=$(PWD) modules

clean:
	make -C $(KDIR) M=$(PWD) clean
